<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <link th:replace="common/tip"/>
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-list"></em>转会中心</h3>
            <div class="tabbable"
                 th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
                <ul class="nav nav-tabs" id="myTab">
                    <li style="width: 8%;">
                        <a th:href="@{/hy/footXf/search}" style="text-align: center">
                            <em class="img-svg41"></em>解约</a>
                    </li>
                    <li class="active" style="width: 8%;">
                        <a href="javascript:void(0);" style="text-align: center">
                            <em class="img-svg54"></em>挂牌</a>
                    </li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane in active">
                        <form class="form-horizontal" th:object="${footGpSearchForm}" method="post"
                              th:action="@{/hy/footGp/search}" name="form">
                            <div class="row-fluid">
                                <!--PAGE CONTENT BEGINS HERE-->
                                <div class="span12">
                                    <div class="row-fluid">
                                        <a class="btn" type="button" th:href="@{/index}"><em
                                                class="icon-arrow-left"></em>返回首页</a>
                                    </div>
                                    <table style="width:100%" border="0">
                                        <tbody>
                                        <tr>
                                            <th style="width: 120px;">挂牌球员:</th>
                                            <td style="width: auto;">
                                                <input type="text" name="qdId" class="input_fix" placeholder="挂牌球员"/>
                                            </td>
                                            <th class="hidden-480" style="width: 120px;">挂牌时间:</th>
                                            <td class="hidden-480" style="width: auto;">
                                                <input type="text" name="gpsj" class="input_fix3" placeholder="挂牌时间"/>
                                                <img onclick="WdatePicker({el:'gpsj',dateFmt:'yyyy-MM-dd'})"
                                                     style="width:16px;height:22px" src="" alt=""
                                                     th:src="@{/js/My97DatePicker/skin/datePicker.gif}">
                                            </td>
                                            <th style="width: 200px;">买卖球员玩家:</th>
                                            <td style="width: auto;">
                                                <input type="text" name="userId" class="input_fix"
                                                       placeholder="买卖球员玩家"/>
                                            </td>
                                            <td style="width:120px;">
                                                <button class="btn btn-info" style="float: right;" type="button"
                                                        onclick="pagechange(1);"><em class="icon-search"></em>查询
                                                </button>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                    <table id="table_bug_report" class="table table-hover">
                                        <thead>
                                        <tr>
                                            <th>挂牌球员</th>
                                            <th class="hidden-480">球员等级</th>
                                            <th class="hidden-480">挂牌时间</th>
                                            <th class="hidden-480">卖家</th>
                                            <th>一口价</th>
                                            <th class="hidden-480">是否成交</th>
                                            <th class="hidden-480">买家</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <tr th:each="t:${footGpList}">
                                            <td><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                   th:text="${t.yw + (t.qyName == null ? '' : '(' + t.qyName + ')')}">123</a></td>
                                            <td class="hidden-480"><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                                      th:text="${t.qydj}">123</a></td>
                                            <td class="hidden-480"><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                                      th:text="${#dates.format(t.gpsj,'yyyy-MM-dd')}">123</a>
                                            </td>
                                            <td class="hidden-480"><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                                      th:text="${t.sellUserName}"></a></td>
                                            <td><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                   th:text="${#numbers.formatDecimal(t.ykj, 0, 2)}">123</a></td>
                                            <td class="hidden-480"><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                                      th:text="${t.cj ? '成交' : '未成交'}">123</a></td>
                                            <td class="hidden-480"><a th:href="@{/hy/footGp/view(id=${t.id})}"
                                                                      th:text="${t.buyUserName}">123</a></td>
                                        </tr>
                                        </tbody>
                                        <tfoot>
                                        <tr>
                                            <td colspan="7">
                                                <div class="row-fluid" th:include="common/page :: page"></div>
                                            </td>
                                        </tr>
                                        </tfoot>
                                    </table>
                                    <!--/#page-content-->
                                </div>
                                <!--/#page-content-->
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div><!--/#main-content-->
</div><!--/.fluid-container#main-container-->
<div th:replace="common/jsList"></div>
</body>
</html>
